The database directory typically has a data directory 數據庫目錄通常有一個數據目錄(
Directory under the database directory or a user - specified location 目錄中,或者存儲在用戶指定的一個位置。
This directory contains all the files directories that are in the database directory 這個目錄包含數據庫目錄中的所有文件/目錄。
Note : this example assumes that there are no table spaces that exist outside of the database directory 提示:該例中假設在數據庫目錄之外沒有表空間。
The entire database directory can be copied when the system is offline using operating system commands 當系統離線時,可以使用操作系統命令復制整個數據庫目錄。
Lets look at a couple of simple examples to illustrate how db2 determines the database directory location 關于db2如何確定數據庫目錄的位置,讓我們看兩個簡單的示例:
The information stored within sqldbdir is known as the volume database directory or the local database directory 存儲在sqldbdir中的信息通稱為卷標數據庫目錄或者本地數據庫目錄。
The db2relocatedb tool will assume that any containers located within the database directory are being moved as well Db2relocatedb工具會假定所有容器都位于正在移動的數據庫目錄中。
By default , the transaction log is stored under the database directory , the transaction log location can be changed by specifying the 默認情況下,事務日志存放在數據庫目錄下,可以通過在連接url中指定
If the transaction log directory is different from the database directory , make sure that the transaction log directory is also copied 如果事務日志目錄與數據庫目錄有不同之處,那么應確保同時復制了事務日志目錄。